package com.vueperson.vueperson.services;

public class Run03 implements Runnable {
    FactoryCopy factory=new FactoryCopy();
    @Override
    public void run() {
        method();
    }
    public  void method(){
        try {
            Thread.sleep(2000);
        }catch (Exception e){
            e.printStackTrace();
        }
        for (int i = 0; i < 12; i++) {
            factory.sellProduct(i);

        }
    }
}
